import "package:ct_pa_majordomo/config/theme_vars.dart";
import "package:ct_pa_majordomo/widgets/divider/solid_divider.dart";
import "package:flutter/cupertino.dart";
import "package:flutter/material.dart";

class OpeRecord extends StatelessWidget {
  const OpeRecord({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        iconTheme: const IconThemeData(color: Colors.white),
        title: const Text("操作记录", style: TextStyle(color: Colors.white),),
        centerTitle: true,
        backgroundColor: ThemeVars.colorPrimary,
        leading: IconButton(
          icon: const Icon(Icons.arrow_back_ios_new),
          onPressed: () {
            Navigator.pop(context);
          },
        ),
      ),
      body: Container(
        decoration: const BoxDecoration(
          color: Colors.white,
        ),
        child: ListView(
          // physics: const NeverScrollableScrollPhysics(),
          shrinkWrap: true,
          children: const [
            Padding(
              padding: EdgeInsets.fromLTRB(15, 10, 10, 10),
              child: Row(
                children: [
                  Column(
                    crossAxisAlignment: CrossAxisAlignment.start,
                    children: [
                      Text("通电：(西西弗)", style: TextStyle(fontSize: 16, fontWeight: FontWeight.w600),),
                      SizedBox(height: 8,),
                      Text("2024-05-21 20:49", style: TextStyle(color: ThemeVars.colorTextTer),),
                    ],
                  ),
                ],
              )
            ),
            SolidDivider(padding: EdgeInsets.only(left: 15),),
            Padding(
                padding: EdgeInsets.fromLTRB(15, 10, 10, 10),
                child: Row(
                  children: [
                    Column(
                      crossAxisAlignment: CrossAxisAlignment.start,
                      children: [
                        Text("通电：(西西弗)", style: TextStyle(fontSize: 16, fontWeight: FontWeight.w600),),
                        SizedBox(height: 8,),
                        Text("2024-05-21 20:49", style: TextStyle(color: ThemeVars.colorTextTer),),
                      ],
                    ),
                  ],
                )
            ),
            SolidDivider(padding: EdgeInsets.only(left: 15),),
            Padding(
                padding: EdgeInsets.fromLTRB(15, 10, 10, 10),
                child: Row(
                  children: [
                    Column(
                      crossAxisAlignment: CrossAxisAlignment.start,
                      children: [
                        Text("通电：(西西弗)", style: TextStyle(fontSize: 16, fontWeight: FontWeight.w600),),
                        SizedBox(height: 8,),
                        Text("2024-05-21 20:49", style: TextStyle(color: ThemeVars.colorTextTer),),
                      ],
                    ),
                  ],
                )
            ),
            SolidDivider(padding: EdgeInsets.only(left: 15),),
            Padding(
                padding: EdgeInsets.fromLTRB(15, 10, 10, 10),
                child: Row(
                  children: [
                    Column(
                      crossAxisAlignment: CrossAxisAlignment.start,
                      children: [
                        Text("通电：(西西弗)", style: TextStyle(fontSize: 16, fontWeight: FontWeight.w600),),
                        SizedBox(height: 8,),
                        Text("2024-05-21 20:49", style: TextStyle(color: ThemeVars.colorTextTer),),
                      ],
                    ),
                  ],
                )
            ),

          ],
        ),
      )
    );
  }

}